package com.chengliang.bbs.mapper;

import com.chengliang.bbs.common.MyBaseMapper;
import com.chengliang.bbs.entry.ExperienceRecord;
import com.chengliang.bbs.type.ExperienceType;
import org.apache.ibatis.annotations.Param;

/**
 * @author chengliang
 * 经验记录
 */
public interface ExperienceRecordMapper extends MyBaseMapper<ExperienceRecord> {


    /**
     * 添加经验记录
     *
     * @return
     */
    boolean insertExperienceRecord(@Param("userId") Integer userId, @Param("experienceValue") Integer experienceValue, @Param("experienceType") ExperienceType experienceType);


}